FROM nginx:latest

COPY dist /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/default.conf

EXPOSE 80
#FROM nginx:latest
#
## 复制 Nginx 配置文件
#COPY default.conf /etc/nginx/conf.d/default.conf
#
## 暴露 80 端口
#EXPOSE 80
#
## 启动 Nginx 服务
#CMD ["nginx", "-g", "daemon off;"]